package com.zxy.express.service;


import com.autopai.base.common.mybatis.service.BaseService;
import com.autopai.base.common.web.page.PageData;
import com.zxy.express.dto.AudioEpisodeDTO;
import com.zxy.express.entity.AudioEpisodeEntity;

import java.util.List;
import java.util.Map;

/**
 * 练习素材表
 *
 * @author zhangxiying ${email}
 * @since ${version} 2025-07-01
 */
public interface AudioEpisodeService extends BaseService<AudioEpisodeEntity> {

    PageData<AudioEpisodeDTO> page(Map<String, Object> params);

    List<AudioEpisodeDTO> list(Map<String, Object> params);

    AudioEpisodeDTO get(String id);

    void save(AudioEpisodeDTO dto);

    void update(AudioEpisodeDTO dto);

    void updateByTitle(AudioEpisodeDTO dto);

    void delete(String[] ids);

    void insertBatch(List<AudioEpisodeDTO> dtoList);

    AudioEpisodeDTO getNext(String id);
    AudioEpisodeDTO getPrevious(String id);
}